﻿using System;
using System.Linq;
using System.IO;
using System.IO.IsolatedStorage;
using System.Collections.Generic;
using Microsoft.LightSwitch;
using Microsoft.LightSwitch.Framework.Client;
using Microsoft.LightSwitch.Presentation;
using Microsoft.LightSwitch.Presentation.Extensions;
using System.Threading;

namespace LightSwitchApplication
{
    public partial class Application
    {
        partial void Application_Initialize()
        {
            
//            string languageAndCulture = "it-IT";

////            Dim r As New Globalization.CultureInfo("es-ES")
////r.NumberFormat.CurrencyDecimalSeparator = "."
////Thread.CurrentThread.CurrentUICulture = r
//            Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo(languageAndCulture);
//            Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(languageAndCulture);

//            Thread.CurrentThread.CurrentUICulture.NumberFormat.CurrencyDecimalSeparator = ".";
//            Thread.CurrentThread.CurrentUICulture.NumberFormat.NumberDecimalSeparator = ".";
        }
    }
}
